/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.vod.gauss.encoder;

/**
 *
 * @author dRazanakoto
 */
public interface Encoder {
    /**
     * calcul checkSum
     * @param data
     * @param symbole
     * @return 
     */
    public int calculCheckSum (int [] data,int [] symbole);
    
    /**
     * rand n symbole
     * @param n
     * @return 
     */
    public int [] generateSymboles(int n);
    
    /**
     * rand n indice data in between 0 and max
     * @param max
     * @param n
     * @return 
     */
    public int [] generateDataIndice(int max,int n);
}
